﻿using HZU.ZP.Data.Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace HZU.ZP.Data.Interfaces
{
    public interface ICompanyDao
    {
        void Add(Company company);
        void Update(Company company);
        void Delete(int id);
        Company GetByEmail(string email);
        Company  GetByName(string companyName);
        Company GetByNumber(string companyNumber);
        Company GetId(int id);
        Company Get(Company company);
        int GetCount(int status);
        IList<Company> GetComList(int status, int pageIndex);
    }
}
